package innerclass;

import lombok.Data;

/**
 * @author ZhuQi
 * @ClassName PigBird
 * @Date 2022/11/11 15:36
 * @Version 1.0
 * @Description TODO
 */
@Data
public abstract class PigBirdAbstract implements Bird{

    private String name;

    private String type;

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String doFly() {
        throw new RuntimeException("请实现");
    }
}
